Skip to content

Update pre-commit hook openshift-hyperfleet/hyperfleet-hooks to v0.2.0#126

Closed
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/openshift-hyperfleet-hyperfleet-hooks-0.x
Closed

Update pre-commit hook openshift-hyperfleet/hyperfleet-hooks to v0.2.0#126
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/openshift-hyperfleet-hyperfleet-hooks-0.x

Conversation

@red-hat-konflux-kflux-prd-rh02
Copy link
Copy Markdown

@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot commented May 13, 2026

This PR contains the following updates:

Package Type Update Change
openshift-hyperfleet/hyperfleet-hooks repository minor v0.1.0v0.2.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

openshift-hyperfleet/hyperfleet-hooks (openshift-hyperfleet/hyperfleet-hooks)

v0.2.0

Compare Source

What's Changed

  • HYPERFLEET-1079: Generalize commitlint to accept any Jira project key

Full Changelog: openshift-hyperfleet/hyperfleet-hooks@v0.1.3...v0.2.0

v0.1.3

Compare Source

What's Changed

  • Whitelist bot authors in commitlint validation — commits from known bot accounts (e.g., Konflux PaC) are automatically skipped during validation, unblocking Konflux onboarding PRs (#​9)
Details
  • Added IsWhitelistedAuthor() to the validator — checks both commit author email and GitHub PR author login
  • Whitelisted: konflux@no-reply.konflux-ci.dev (commit email), red-hat-konflux-kflux-prd-rh02[bot] (PR author)
  • Refactored GetPRTitle to GetPRInfo to include PR author login for title validation
  • Removed unused getCommitMessage function (inlined in validateCommits)

Full Changelog: openshift-hyperfleet/hyperfleet-hooks@v0.1.2...v0.1.3

v0.1.2

Compare Source

Fix PR commit range calculation: use git rev-list for correct diverged branch handling

v0.1.1

Compare Source

Fix

  • Fallback to GitHub API when local git history is unavailable (shallow clones in ci-operator)

When getCommitsInRange fails due to shallow/partial git clones, the commitlint tool now falls back to the GitHub PR commits API to fetch and validate commit messages.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@openshift-ci openshift-ci Bot requested review from aredenba-rh and kuudori May 13, 2026 16:06
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 13, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign pnguyen44 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 85770680-b959-4efb-b61c-46478d5437ee

📥 Commits

Reviewing files that changed from the base of the PR and between d1cf21a and 74517cf.

📒 Files selected for processing (1)
  • .pre-commit-config.yaml

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated development hooks to v0.2.0 for enhanced code quality and formatting validation.

Walkthrough

The pull request updates .pre-commit-config.yaml to bump the hyperfleet-hooks repository rev from v0.1.0 to v0.2.0. The revision change affects all hooks sourced from that repository: hyperfleet-commitlint, hyperfleet-gofmt, hyperfleet-golangci-lint, and hyperfleet-go-vet.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating the pre-commit hook openshift-hyperfleet/hyperfleet-hooks from v0.1.0 to v0.2.0, which directly matches the changeset.
Description check ✅ Passed The description clearly relates to the changeset, providing a comprehensive overview of the dependency update with release notes, version comparison table, and detailed context about changes in the updated hook versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/openshift-hyperfleet-hyperfleet-hooks-0.x

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 13, 2026

Hi @red-hat-konflux-kflux-prd-rh02[bot]. Thanks for your PR.

I'm waiting for a openshift-hyperfleet member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot changed the title Update pre-commit hook openshift-hyperfleet/hyperfleet-hooks to v0.1.3 Update pre-commit hook openshift-hyperfleet/hyperfleet-hooks to v0.2.0 May 14, 2026
@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/main/openshift-hyperfleet-hyperfleet-hooks-0.x branch from d1cf21a to 74517cf Compare May 14, 2026 16:14
@ciaranRoche
Copy link
Copy Markdown
Contributor

Closing: superseded by renovate.json config in #135 (HYPERFLEET-1095). MintMaker will re-create grouped updates on the next Monday cycle.

@red-hat-konflux-kflux-prd-rh02
Copy link
Copy Markdown
Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v0.2.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot deleted the konflux/mintmaker/main/openshift-hyperfleet-hyperfleet-hooks-0.x branch May 15, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant